﻿// Metro
using System.Windows;
using MahApps.Metro.Controls;

namespace DailyFx.Studio
{
	/// <summary>
	/// Interaction logic for MainWindow.xaml
	/// </summary>
	public partial class MainWindow //:  System.Windows.Window
	{
		public MainWindow()
		{
			InitializeComponent();
		}

		public new MainViewModel DataContext
		{
			get
			{
				return base.DataContext as MainViewModel;
			}
			set
			{
				if (this.DataContext != value)
					base.DataContext = value;
			}
		}
	}
}
